// period 期数
// number 票数
var database = [
  {
    period: 2023087,
    list: [
      {
        number: '09783',
        list: [
          {
            red: [5, 11, 13, 26, 29, 30],
            blue: 1
          }
        ]
      }
    ]
  }
];

function findPeriod(v) {
  var data = null;
  database.forEach((item) => {
    if (item.period === v) data = item;
  });
  return data;
}
